<template>
  <div class="home">
    <h1>欢迎使用普适智能管理系统</h1>
  </div>
</template>

<script>
  import {
    mapGetters
  } from 'vuex'
  export default {
    components: {},
    computed: {
      ...mapGetters([
        'routes'
      ]),
    },
    data() {
      return {

      }
    },
    created() {
    },
    mounted() {},
    methods: {
      // hasOneShowingChildren(children, parent) {
      //   const showingChildren = children.filter(item => {
      //     return !item.hidden
      //   })
      //   if (showingChildren.length === 0) {
      //     return true
      //   }
      //   return false
      // }
    }
  }

</script>
<style lang="scss" scoped>
  .home{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
</style>
